package com.kawa.kemanage.service.impl;

import com.kawa.kemanage.entity.NewsCategory;
import com.kawa.kemanage.mapper.NewsCategoryMapper;
import com.kawa.kemanage.mapper.NewsMapper;
import com.kawa.kemanage.service.NewsCategoryService;
import com.kawa.kemanage.util.RedisUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

@Service
public class NewsCategoryServiceImpl  implements NewsCategoryService {
    @Autowired
    private NewsCategoryMapper newsCategoryMapper;

    /**
     * 查询分类标签
     * @return
     */
    @Override
    public List<NewsCategory> categoryList() {

        return newsCategoryMapper.categoryList();
    }
}

